<!--
 * @Author: huangtianyang 916072572@qq.com
 * @Date: 2024-05-08 17:49:42
 * @LastEditors: huangtianyang
 * @LastEditTime: 2024-05-15 16:38:12
 * @FilePath: \report-h5\src\pages\report\html\report.html
-->
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title></title>
    <meta name="viewport"
        content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />

    <style>
        * {
            margin: 0;
            padding: 0;
        }

        html,
        body,
        .report {
            width: 100%;
            height: 100%;
        }
    </style>

</head>

<body>
    <div class="report">
        <span>加载中...</span>
    </div>

    <script>
        window.onload = function () {
            let html = ''
            const timer = setInterval(() => {
                html = window.sessionStorage.getItem('html')
                if (html) {
                    document.write(html)
                }
            }, 200)
        }
    </script>
</body>

</html>